//进行API统一管理
import requests from './request';

//党群动态
export function partyHome(params) {
    return requests({
        url: 'api/partyHome/list',
        method: 'get',
        params: params,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        },
    })
}
//党员学历分布
export function education() {
    return requests({
        url: 'api/home/statistic/education',
        method: 'get',
    })
}
//党员年龄分布
export function ages() {
    return requests({
        url: 'api/home/statistic/ages',
        method: 'get',
    })
}
//党员性别分布
export function gender() {
    return requests({
        url: 'api/home/statistic/gender',
        method: 'get',
    })
}
//党组织登录率
export function loginRate() {
    return requests({
        url: 'api/home/statistic/loginRate',
        method: 'get',
    })
}
//党费收缴情况
export function feeCollection() {
    return requests({
        url: 'api/home/statistic/feeCollection',
        method: 'get',
    })
}
//园区组织架构分析
export function deptOrganize() {
    return requests({
        url: 'api/home/statistic/deptOrganizChildren',
        method: 'get',
    })
}
//季度党员会议
export function partyMemberMeeting() {
    return requests({
        url: 'api/home/statistic/partyMemberMeeting',
        method: 'get',
    })
}
//季度党课开展
export function partyLesson() {
    return requests({
        url: 'api/home/statistic/partyLesson',
        method: 'get',
    })
}
//当月支部委员会
export function branchCommittee() {
    return requests({
        url: 'api/home/statistic/quarter/branchCommittee',
        method: 'get',
    })
}
//本月党小组开展
export function partyGroup() {
    return requests({
        url: 'api/home/statistic/quarter/partyGroup',
        method: 'get',
    })
}







